// https://www.vitejs.net/guide/assets.html#new-url-url-import-meta-url
export default function GetImgUrl(nameExt = '') {
  nameExt = nameExt || ''
  /* eslint-disable-next-line */
  const url = new URL(`../assets/${nameExt}`, import.meta.url).href
  return url
}